package com.ruoyi.project.loan.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 审批报告对象 approval_report
 *
 * @author ruoyi
 * @date 2025-11-11
 */
public class ApprovalReport extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long reportId;

    /**
     * 贷款申请
     */
    @Excel(name = "贷款申请" )
    private Long applicationId;

    /**
     * 信用评估
     */
    @Excel(name = "信用评估" )
    private String creditEvaluation;

    /**
     * 风险等级
     */
    @Excel(name = "风险等级" )
    private String riskLevel;

    /**
     * 审批人ID
     */
    @Excel(name = "审批人ID" )
    private Long approverId;

    /**
     * 审批结果
     */
    @Excel(name = "审批结果" )
    private String decision;

    public Long getReportId() {
        return reportId;
    }

    public void setReportId(Long reportId) {
        this.reportId = reportId;
    }

    public Long getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(Long applicationId) {
        this.applicationId = applicationId;
    }

    public String getCreditEvaluation() {
        return creditEvaluation;
    }

    public void setCreditEvaluation(String creditEvaluation) {
        this.creditEvaluation = creditEvaluation;
    }

    public String getRiskLevel() {
        return riskLevel;
    }

    public void setRiskLevel(String riskLevel) {
        this.riskLevel = riskLevel;
    }

    public Long getApproverId() {
        return approverId;
    }

    public void setApproverId(Long approverId) {
        this.approverId = approverId;
    }

    public String getDecision() {
        return decision;
    }

    public void setDecision(String decision) {
        this.decision = decision;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("reportId", getReportId())
                .append("applicationId", getApplicationId())
                .append("creditEvaluation", getCreditEvaluation())
                .append("riskLevel", getRiskLevel())
                .append("approverId", getApproverId())
                .append("decision", getDecision())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
